package com.ctp.socket.listener;

import com.ctp.socket.base.TcpServer;

public abstract class AbstractTraderListener {

	public void listen() {
		TcpServer.listen(PORT, this);
	}

	public abstract void processResult(String ret);

	private static final int PORT = 8004;

	protected static final int METHOD_FORM_CONFIRM = 1;

	protected static final int METHOD_BARGAIN_CONFIRM = 2;

}
